﻿using MediatR;
using Traceability.ErrorCode;

namespace Traceability.APP.Application.Command.Slaughters
{
    public class UpdateSlaughterCommand : IRequest<APIResult<int>>
    {
        public int Id {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime ArrivalTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
        public string? UpdateUserName { get; set; }
    }
}
